<el-main>
    <el-row :gutter="10">
        <el-form ref="form" :model="form" :rules="rules" label-width="100px">
            <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
                <el-form-item label="购物车日期">
                    <el-date-picker
                            type="date"
                            v-model="form.GWCQDOCDATE"
                            readOnly
                            value-format="yyyy-MM-dd"
                            style="width: 100%">
                    </el-date-picker>
                </el-form-item>
            </el-col>
            <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
                <el-form-item label="购物车单号">
                    <el-input v-model="form.GWCQDOCNO" readonly></el-input>
                </el-form-item>
            </el-col>
            <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
                <el-form-item label="经销商">
                    <el-input v-model="form.GWCQ010_NAME" readOnly>
                    </el-input>
                </el-form-item>
            </el-col>
            <!--<el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
                <el-form-item label="经销商" prop="GWCQ011">
                    <el-input v-model="form.GWCQ011"></el-input>
                </el-form-item>
            </el-col>-->
            <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
                <el-form-item label="客户">
                    <el-input v-model="form.GWCQ112" readOnly></el-input>
                </el-form-item>
            </el-col>
            <el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
                <el-form-item label="下单人姓名" prop="GWCQ014">
                    <el-input v-model="form.GWCQ014_NAME" readOnly>
                    </el-input>
                </el-form-item>
            </el-col>
            <!--<el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="8">
                <el-form-item label="预计交货日期" prop="GWCQ016">
                    <el-date-picker
                            type="date"
                            v-model="form.GWCQ016"
                            value-format="yyyy-MM-dd"
                            style="width: 100%">
                    </el-date-picker>
                </el-form-item>
            </el-col>-->
            <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
                <el-form-item label="备注" prop="GWCQ050">
                    <el-input type="textarea" v-model="form.GWCQ050" readOnly></el-input>
                </el-form-item>
            </el-col>
            <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
                <div class="pos-re">
                    <div class="pos-ab">
                        <!--<el-button type="primary" size="small"
                                   @click="addDataBatch" v-show="!isCheck">添加
                        </el-button>
                        <el-button type="primary" size="small"
                                   @click="deleteDataBatch" v-show="!isCheck">删除
                        </el-button>-->
                        <el-button type="primary" size="small"
                                   @click="giftInfo" v-show="isShow" style="margin-bottom: 10px;">赠品信息
                        </el-button>
                        <!--<el-button type="primary" size="small"
                                   @click="transformInquiry" v-show="isCheck">转询价单
                        </el-button>-->
                    </div>
                    <div class="table-responsive">
                        <table id="gwai700_edit_table"
                               class="layui-table"
                               lay-size="sm"
                               lay-filter="gwai700_edit_table">
                        </table>
                    </div>
                </div>
            </el-col>
            <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right;margin-top: 10px;">
                <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
                <!--<el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure" v-show="!isCheck">保存</el-button>-->
            </el-col>
        </el-form>
    </el-row>
</el-main>
<!--<script type="text/html" id="script-gwai700editsetting">
    <button class="layui-btn layui-btn-sm" lay-event="selectFrzz" style="height: 18px;line-height: 18px;">选择法人及组织</button>
</script>-->
<script>
    require(["pc/crm/base/gwai700_edit"], $.noop);
</script>
